/**
 * 
 */
package ua.com.infopulse.believeornevers.activities;

import ua.com.infopulse.believeornevers.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

/**
 * @author Andrew.Nazymko
 * 
 */
public class AcMenu extends Activity {
	private Button btnStartGame;
	private Button btnAboutGame;
	private Button btnAchivement;

	@Override
	protected void onCreate(Bundle savedInstanceState) {

		super.onCreate(savedInstanceState);
		setContentView(R.layout.ac_menu);
		findViews();
		setListeners();
	}

	private void findViews() {
		this.btnStartGame = (Button) findViewById(R.id.ac_menu_start_game);
		this.btnAboutGame = (Button) findViewById(R.id.ac_menu_about);
		this.btnAchivement = (Button) findViewById(R.id.ac_menu_achivements);
	}

	private void setListeners() {
		btnStartGame.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {
				Intent intentStartGame = new Intent(AcMenu.this,
						AcGameFlow.class);
				AcMenu.this.startActivity(intentStartGame);
			}
		});

	}
}
